package com.lovo.csc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户预存款
 * </p>
 *
 * @author lovo
 * @since 2022-07-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "用户的预存款")
public class Prepay extends Model {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "预存款id")
    @TableId(value = "prepay_id", type = IdType.AUTO)
    private Integer prepayId;
    @ApiModelProperty(value = "预存款用户")
    private String userCode;
    @ApiModelProperty(value = "用户会员等级")
    private String userGrade;
    @ApiModelProperty(value = "用户余额")
    private Double balance;


}
